package com.ysd.ziyuanshiyongtongji.controller;

import java.io.IOException;

import com.ysd.ziyuanshiyongtongji.util.POIUtil;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * TestController
 */
@RestController
public class TestController {
    @RequestMapping("/hello")
public String hello(){
    String path="C:\\Users\\asus\\Desktop\\会员登记表.xlsx";
    try {
        POIUtil.importMember(path);
    } catch (IOException e) {
     e.printStackTrace();
    }
    return "hello springboot";
}    
}